package com.glsc.ngateway.oaflow.exception;

public class OaflowException extends RuntimeException{

    private static final long serialVersionUID = 2918259212738343484L;

    private boolean sendMail2Admin = true;

    public OaflowException(String message) {
        super(message);
    }

    public OaflowException(String message,Boolean sendMail) {
        super(message);
        if (sendMail != null){
            sendMail2Admin = sendMail;
        }
    }
}
